﻿using Abp;
using Abp.Modules;
using Abp.Reflection.Extensions;

namespace AbpIntegrationDemo.Domain
{
    [DependsOn(typeof(AbpKernelModule))]
    public class AbpIntegrationDomainModule : AbpModule
    {
        public override void PreInitialize()
        {
            Configuration.Auditing.IsEnabledForAnonymousUsers = true;
            Configuration.MultiTenancy.IsEnabled = AbpIntegrationDomainConsts.MultiTenancyEnabled;
        }

        public override void Initialize()
        {
            IocManager.RegisterAssemblyByConvention(typeof(AbpIntegrationDomainModule).GetAssembly());
        }

        public override void PostInitialize()
        {

        }

        public override void Shutdown()
        {
            base.Shutdown();
        }
    }
}
